<?php

namespace App\Http\Controllers\admin;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;

class IndexController extends Controller
{
    //
    public function index(){
        $menu = getMenuByPid(0);
        $data = [
            'menu' => $menu
        ];
        return view('admin.index.index',$data);
    }
    public function welcome()
    {
        return "1111";
    }
}
